package example.service.impl;

import example.dao.TestDao;
import example.entity.Test;
import example.service.TestService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class TestServiceImpl implements TestService {

    @Autowired
    TestDao testDao;

    @Override
    public Test test() {
        Test test = testDao.getRow();
        return test;
    }
}
